<!DOCTYPE html>
<html lang="en">

<head>
	<meta charset="UTF-8"/>
	<meta name="keywords" content="File Drop"/>
	<link rel="stylesheet" href="../../Shared/sty/standard.css"/>
	<script defer src="../../Shared/js/toc.js"></script>
	
	<title>Drop files to editor in CotEditor on Mac</title>
</head>

<body>

<h1>Drop files to editor in CotEditor on Mac</h1>

<p>File Drop is the feature to insert custom text based on the files dropped to the editor. For example, you can automatically insert the <code>img</code> tag into your HTML document by dropping an image file from the Finder.</p>


<section>
<h2>Perform File Drop</h2>

<p>Drop files to the point to insert in the editor in the CotEditor app <img class="appicon" srcset="../../Shared/gfx/icon_32x32@2x.png 2x" alt=""/> on your Mac.</p>

<p>You need to set the rule of the text to be inserted in advance. When no rule for the dropped file is found, the full path of the file is inserted.</p>
</section>


<section>
<h2>Define File Drop</h2>

<p>To configure the behavior of File Drop, go to CotEditor &gt; Settings &gt; <a href="settings_snippets.html">Snippets</a> &gt; File Drop.</p>
</section>


<section id="cf">
<h2>See also</h2>
<ul>
	<li><a href="settings_snippets.html">Change Snippets settings in CotEditor on Mac</a></li>
	<li><a href="about_filedrop.html">Write insertion format for File Drop in CotEditor on Mac</a></li>
</ul>
</section>

</body>
</html>
